/**
 * Created by lional on 16/10/2.
 */

jGame.Node = cc.Node.extend(/** @lends jGame.Node# */{

    _controller:null,

    ctor: function(){
        this._super();
        //cc.log("jGame.Node#ctor()");
    },

    onExit: function () {

        this._controller = null;

        this._super();
        //cc.log("jGame.Node[" + this.name + "]#onExit()");
    },

    setController: function(controller){
        this._controller = controller;
    },

    getController: function(){
        return this._controller;
    },
    
});